package com.javaEE.gamepigeon.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("学校")
@Data
@NoArgsConstructor
@TableName("school")
public class School {

    @ApiModelProperty("学校id")
    @TableId(value = "schoolid",type = IdType.AUTO)
    private Integer schoolId;

    @ApiModelProperty("学校名")
    @TableField("schoolname")
    private String schoolName;

}
